]> dgit.raspbian.org Git - gnome-shell.git/commit
layout: Skip strut computation in the no-monitor case
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Jul 2017 13:53:04 +0000 (15:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Jul 2017 15:23:54 +0000 (17:23 +0200)
commit4e57b451429141b35632e9da7b1fe3bc92c8dc9b
tree0cdee235f4a40ef59f773c75d9595d9d4fb6e048
parent1ba014d9dba9b1884d7c889fb726eeeca6ff0634
layout: Skip strut computation in the no-monitor case

It's possible for updateRegions() to be called before monitors have
been properly initialized. Instead of throwing an error in that case,
just skip the strut computation (that doesn't make sense anyway without
a monitor).

https://bugzilla.gnome.org/show_bug.cgi?id=781471
js/ui/layout.js